package com.ktjy.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ktjy.mapper.AppInfoMapper;
import com.ktjy.pojo.AppInfo;
import com.ktjy.service.AppInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 15423
* @description 针对表【app_info】的数据库操作Service实现
* @createDate 2024-05-17 16:14:42
*/
@Service
public class AppInfoServiceImpl extends ServiceImpl<AppInfoMapper, AppInfo> implements AppInfoService {
    @Autowired
    AppInfoMapper appInfoMapper;

    /**
     * 列表
     * @param devId  开发者编号
     * @param softwareName 软件名称
     * @param flatformId 平台ID
     * @param status 状态
     * @param categoryLevel1 一级分类
     * @param categoryLevel2  二级分类
     * @param categoryLevel3  三级分类
     * @return
     */

    @Override
    public Page<AppInfo> selectAll(Page<AppInfo> page, Long devId,  String softwareName, Integer flatformId, Integer status, Integer categoryLevel1, Integer categoryLevel2, Integer categoryLevel3) {
        return appInfoMapper.selectAll(page,devId, softwareName, flatformId, status, categoryLevel1, categoryLevel2, categoryLevel3);
    }

    @Override
    public List<AppInfo> selectstatus() {
        return null;
    }
}




